<%@ taglib prefix="spring-sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ attribute name="pojoDescriptor" required="true" type="com.kyub.spring.gears.model.PojoDescriptor" %>
<%@ attribute name="gears_restfull_prefix" required="true" %>
<spring-sec:authorize ifAnyGranted="${pojoDescriptor.insertableRoles}">
        <c:if test="${pojoDescriptor.insertable}">
            <a href="${pageContext.request.contextPath}/${gears_restfull_prefix}/${pojoDescriptor.name}/insert">Insert</a>
        </c:if>
    </spring-sec:authorize>